import UnDestoriable from "./undestoriable.js";
import config from "./gameconfig.js";

class Grass extends UnDestoriable{
    canOver:boolean=true;
    canThrough:boolean=true;
    constructor( x: number, y: number,imgSrc?: string|undefined, width?: number, height?: number) {
        super(x, y,imgSrc,  width, height);
        this.img.src = config.GrassSprite;
    }
}
export default Grass;